package com.ruoyi.project.loan.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 贷款产品对象 loan_product
 *
 * @author ruoyi
 * @date 2025-11-11
 */
public class LoanProduct extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long productId;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称" )
    private String productName;

    /**
     * 最低额度
     */
    @Excel(name = "最低额度" )
    private Long minAmount;

    /**
     * 最高额度
     */
    @Excel(name = "最高额度" )
    private Long maxAmount;

    /**
     * 年化利率
     */
    @Excel(name = "年化利率" )
    private Long interestRate;

    /**
     * 期限范围
     */
    @Excel(name = "期限范围" )
    private String termRange;

    /**
     * 产品描述
     */
    @Excel(name = "产品描述" )
    private String description;

    /**
     * 状态
     */
    @Excel(name = "状态" )
    private String status;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getMinAmount() {
        return minAmount;
    }

    public void setMinAmount(Long minAmount) {
        this.minAmount = minAmount;
    }

    public Long getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(Long maxAmount) {
        this.maxAmount = maxAmount;
    }

    public Long getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(Long interestRate) {
        this.interestRate = interestRate;
    }

    public String getTermRange() {
        return termRange;
    }

    public void setTermRange(String termRange) {
        this.termRange = termRange;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("productId", getProductId())
                .append("productName", getProductName())
                .append("minAmount", getMinAmount())
                .append("maxAmount", getMaxAmount())
                .append("interestRate", getInterestRate())
                .append("termRange", getTermRange())
                .append("description", getDescription())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
